package com.quwan.manager.service;

import com.quwan.common.result.PageResult;
import com.quwan.entity.TMemberClickNum;

import java.util.List;

/**
 * @author laozhang
 * @date 2022/05/28
 */
public interface MemberClickNumService {

    /**
     * 获取意见反馈列表 分页
     * @param page
     * @param size
     * @param beginTime
     * @param endTime
     * @return
     */
    PageResult<TMemberClickNum> getMemberClickNumListPage(int page, int size,String beginTime,String endTime);
    /**
     * 获取意见反馈列表
     * @param beginTime
     * @param endTime
     * @return
     */
    List<TMemberClickNum> getMemberClickNumList(String beginTime,String endTime);

    /**
     * 当前时间查询数据
     * @return
     */
    TMemberClickNum selectTMemberClickNumByCurrentTime();

    /**
     * 增加
     * @param memberClickNum
     * @return
     */
    boolean insertTMemberClickNum(TMemberClickNum memberClickNum);

    /**
     * 修改
     * @param memberClickNum
     * @return
     */
    boolean updateTMemberClickNum(TMemberClickNum memberClickNum);

    /**
     * 统计访问接口访问量
     * @param timeKey
     */
    void autoAccessCount(String timeKey);
}
